package com.bridge.common.sms;

import com.bridge.common.enums.SmsTypeEnum;

public class BindPhoneSms extends AbstractSms {

    private String code;


    @Override
    public int getSmsType() {
        return SmsTypeEnum.BIND_PHONE.getType();
    }

    public BindPhoneSms(String code) {

        setCode(code);

    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;

    }


    @Override
    public String getProject() {
        return getSmsInfo().getRegTemplateCode();
    }


}
